package com.zhoukx.composite;

/**
 * @ClassName Deoartment
 * @Description:
 * @Author zhoukx
 * @Date 2020/8/10
 **/
public class Department extends OrganizationComponet {

    public Department(String name, String des) {
        super(name, des);
    }

    @Override
    protected void print() {
        System.out.println(getName());
    }

    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public String getDes() {
        return super.getDes();
    }
}
